package com.example.boot.dlorder.service;

import java.util.List;

import com.example.boot.dlorder.model.DlOrder;

public interface DlOrderServic {

	/**
	 * 订单
	 * 
	 * @param json
	 * @return
	 * @throws Exception
	 */
	public DlOrder saveOrder(String orderData, String detailData) throws Exception;

	/**
	 * 根据状态查找订单
	 * 
	 * @param openId
	 * @param status
	 * @return
	 * @throws Exception
	 */
	public List<DlOrder> findUserOrder(String openId, Integer status) throws Exception;

	
	public Boolean updateStatus(String orderId,Integer status)throws Exception;
}
